home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinNT KnownDLL 1.xpl < prev    next >
Text File  |  2003-11-19  |  2KB  |  56 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="System\Security\File System"
  5. "NAME"="Known DLLs list"
  6. "VERSION"="1.17"
  7. "OSVERSION"="0101011"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Disable KnownDLLs cache"
  10. "DESCRIPTION 1"="By default, Windows NT caches system DLLs in a cache called the 'KnownDLLs' list."
  11. "DESCRIPTION 2"="A hacker could change this list in that way, that not the original Windows NT DLL is called, but a changed one from the hacker."
  12. "DESCRIPTION 3"="By activating this option, Windows NT will lock this list so the hacker can't manipulate it."
  13. "DESCRIPTION 4"="For more information, see the following KB article from Microsoft:"
  14. "DESCRIPTION 5"="http://support.microsoft.com/support/kb/articles/q218/4/73.asp"
  15. "AUTHOR"="Xteq Systems (CptSiskoX)"
  16. "CONTACTURL"="http://www.xteq.com"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=" "
  19.  
  20.  
  21.  
  22. sP_NT="HKLM\System\CurrentControlSet\Control\Session Manager\ProtectionMode"
  23. sP_2K="HKLM\System\CurrentControlSet\Control\Session Manager\KnownDLLs"
  24.  
  25. sPath=""
  26. Sub Plugin_Initialize
  27.  if GetWinVer=2 then sPath=sP_NT
  28.  if GetWinVer=4 then sPath=sP_2K
  29.  if GetWinVer=6 then sPath=sP_2K
  30.  
  31.  i=RegReadValue(sPath)
  32.     
  33.  if i=1 then
  34.     Call SetUIElement(1,true) 
  35.  end if  
  36. End Sub
  37.  
  38. Sub Plugin_CheckData(ElementIndex)
  39. End Sub
  40.  
  41. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  42.  b=GetUIElement(1)
  43.  if b=true then
  44.     Call RegWriteValue(sPath,1,2) 
  45.  else
  46.     Call RegWriteValue(sPath,0,2) 
  47.  end if
  48. End Sub
  49.  
  50.  
  51. Sub Plugin_Terminate 
  52. End Sub
  53.  
  54.  
  55.  
  56.